import request from '@/utils/request'

export function getRankReportList(params) {
    return request({
        url: process.env.ADMIN_API + '/report/rank/getList',
        method: 'post',
        data: params
    })
}

export function rankReportHandle(params) {
    return request({
        url: process.env.ADMIN_API + '/report/rank/handle',
        method: 'post',
        data: params
    })
}

export function deleteRankReportBatch(params) {
    return request({
        url: process.env.ADMIN_API + '/report/rank/deleteBatch',
        method: 'post',
        data: params
    })
}


export function getCommunityReportList(params) {
    return request({
        url: process.env.ADMIN_API + '/report/community/getList',
        method: 'post',
        data: params
    })
}

export function communityReportHandle(params) {
    return request({
        url: process.env.ADMIN_API + '/report/community/handle',
        method: 'post',
        data: params
    })
}

export function deleteCommunityReportBatch(params) {
    return request({
        url: process.env.ADMIN_API + '/report/community/deleteBatch',
        method: 'post',
        data: params
    })
}